photoelectric detection